﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Wordprocessing;
using intelliEssay.Core.DocumentStructure;
using intelliEssay.Core;

namespace TestDrive
{
    class _testEntry
    {
        static void Main()
        {
            NumberingInstance ni;
            Level l;
            WordprocessingDocument wordDoc = WordprocessingDocument.Open("g:\\testdrive\\2.docx", false);
            Document doc = wordDoc.MainDocumentPart.Document;
            Task t = new Task();
            t.TaskObjectRoot = wordDoc;
            t.documentStructure =intelliEssay.Core.DocumentStructure. DocumentStructure.GenerateDocumentStructure(wordDoc);
            intelliEssay.Checkers.DocumentSignatureChecker.DocumentSignatureChecker dsc = new intelliEssay.Checkers.DocumentSignatureChecker.DocumentSignatureChecker();
            dsc.Run(t);

        }
    }
}
